﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Frame.Lib.Core.Base;

namespace Frame.Lib.Core.Para
{
    public class ParaBO : CommonOperate<ParaInfo>
    {
        private ParaDAL _paras;
        public ParaBO()
        {
            _paras = new ParaDAL();
        }
        protected override BaseDAL DAL
        {
            get
            {
                return _paras;
            }
        }

        public void Update(ParaInfo info, string oldID)
        {
            _paras.Update(info, oldID);

           
        }

        public bool ExistKey(string newKey, string oldKey)
        {
            return _paras.ExsitKey(newKey, oldKey);
        }
    }
}
